package com.fujimana.rockincat.restree.init.converter;

import com.fujimana.rockincat.restree.converter.Converter;
import com.fujimana.rockincat.restree.init.Item;

public class ConverterItem implements Item {
	
	private String type;
	
	private Class<? extends Converter> converter;

	public ConverterItem(String type, Class<? extends Converter> converter) {
		
		this.type = type;
		this.converter = converter;
	}

	@Override
	public String getType() {
		return ConverterItem.class.getName();
	}
	
	public String getMimeType() {
		return this.type;
	}

	public Class<? extends Converter> getConverter() {
		return converter;
	}

}
